package org.jeecgframework.web.system.pojo.base;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.jeecgframework.core.common.entity.IdEntity;


/**
 * TLog entity.
 *  @author  张代浩
 */
@Entity
@Table(name = "t_s_user_login_log")
public class TSUserLoginLog extends IdEntity implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	private String username;	
	private Date operatetime;
	private Short operatetype;            //1:成功   0：失败
	private Short logintype;              //1：前台   2：后台;
	private String logcontent;

	
	@Column(name = "username",length = 10)
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	@Column(name = "operatetime", nullable = false, length = 35)
	public Date getOperatetime() {
		return this.operatetime;
	}
	public void setOperatetime(Date operatetime) {
		this.operatetime = operatetime;
	}
	@Column(name = "operatetype")
	public Short getOperatetype() {
		return this.operatetype;
	}
	public void setOperatetype(Short operatetype) {
		this.operatetype = operatetype;
	}
	@Column(name = "logcontent", nullable = false, length = 100)
	public String getLogcontent() {
		return this.logcontent;
	}
	public void setLogcontent(String logcontent) {
		this.logcontent = logcontent;
	}
	@Column(name = "logintype")
	public Short getLogintype() {
		return logintype;
	}
	public void setLogintype(Short logintype) {
		this.logintype = logintype;
	}
	
}